package com.jason.kotlin.meta.architecture2.repository

import com.jason.kotlin.meta.architecture2.api.ProjectService

/**
 * 项目相关api的数据获取实现
 *
 * @property service ProjectService
 * @constructor
 */
class ProjectApiImpl(private val service: ProjectService) : ProjectApi {


    override suspend fun getProjectClassify() = service.getProjectClassify()

    override suspend fun getProjectList(
        page: Int,
        cid: Int
    ) = service.getProjectList(page, cid)
}